<template>
  <!-- <router-view /> -->
    <div id="app">
    <keep-alive >
      <router-view v-if="$route.meta.keepAlive"></router-view>
    </keep-alive>
    <router-view v-if="!$route.meta.keepAlive"></router-view>
    <!-- <router-link to="/"> <button class="btn" v-show="isbutton" @click="isbtn">点击进入</button></router-link> -->
    <!-- <m-foot id="foot"></m-foot> -->
  </div>
</template>

<script setup>
import footer from "./components/footandhead/footer.vue"
  export default {
    components:{
      'm-foot':footer
    },
  }
// This starter template is using Vue 3 experimental <script setup> SFCs
// Check out https://github.com/vuejs/rfcs/blob/script-setup-2/active-rfcs/0000-script-setup.md
</script>

<style>
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
}
</style>
